package sample.utils;

import java.util.concurrent.atomic.AtomicInteger;

public class IndexUtils {

    protected static AtomicInteger index = new AtomicInteger(0);

    public static void initIndex(){
        index = new AtomicInteger(0);
    }

    public static Integer getIndex(){
        return index.incrementAndGet();
    }
}
